[POWERPC][XEN] Safety with foreign get_page() calls and RMA
authorJimi Xenidis <jimix@watson.ibm.com>
Thu, 14 Sep 2006 05:41:13 +0000 (01:41 -0400)
committerJimi Xenidis <jimix@watson.ibm.com>
Thu, 14 Sep 2006 05:41:13 +0000 (01:41 -0400)
commit89db220b4f664e844f5bc9c36b8b4fa009e7f1a4
tree5f1e456cab4fbc7cbbf942f31985ca1bdab1310b
parent135926c75f0e2a259fe23a7467e3c2ce3843e2e7
[POWERPC][XEN] Safety with foreign get_page() calls and RMA

The following patch deals with get_page() possibly failing for H_ENTER
on a foreign page and returning the correct error.  We also tag and
checke that a put_page() for RMA pages will panic (for now) if the
domain is _not_ dying.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
xen/arch/powerpc/mm.c
xen/arch/powerpc/papr/xlate.c
xen/include/asm-powerpc/mm.h